package com.ruoyi.assets.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库管理对象 storagereceipt
 * 
 * @author ruoyi
 * @date 2023-05-04
 */
public class Storagereceipt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long storageReceiptid;

    /** 单据号 */
    @Excel(name = "单据号")
    private String ticketNo;

    /** 仓库id */
    private Long warehouseId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 类型 */
    @Excel(name = "类型")
    private Long stype;

    /** 创建用户名 */
    private String createUsername;

    /** $column.columnComment */
    private Long createUserid;

    /** 创建时间 */
    private Date createDate;

    /** $column.columnComment */
    private Long editUserid;

    /** 修改的用户名 */
    private String editUsername;

    /** 修改时间 */
    private Date editDate;

    /** 1入库单2出库单3报损单 */
    @Excel(name = "1入库单2出库单3报损单")
    private Integer type;

    public void setStorageReceiptid(Long storageReceiptid) 
    {
        this.storageReceiptid = storageReceiptid;
    }

    public Long getStorageReceiptid() 
    {
        return storageReceiptid;
    }
    public void setTicketNo(String ticketNo) 
    {
        this.ticketNo = ticketNo;
    }

    public String getTicketNo() 
    {
        return ticketNo;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setStype(Long stype) 
    {
        this.stype = stype;
    }

    public Long getStype() 
    {
        return stype;
    }
    public void setCreateUsername(String createUsername) 
    {
        this.createUsername = createUsername;
    }

    public String getCreateUsername() 
    {
        return createUsername;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid() 
    {
        return createUserid;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setEditUserid(Long editUserid) 
    {
        this.editUserid = editUserid;
    }

    public Long getEditUserid() 
    {
        return editUserid;
    }
    public void setEditUsername(String editUsername) 
    {
        this.editUsername = editUsername;
    }

    public String getEditUsername() 
    {
        return editUsername;
    }
    public void setEditDate(Date editDate) 
    {
        this.editDate = editDate;
    }

    public Date getEditDate() 
    {
        return editDate;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("storageReceiptid", getStorageReceiptid())
            .append("ticketNo", getTicketNo())
            .append("warehouseId", getWarehouseId())
            .append("warehouseName", getWarehouseName())
            .append("stype", getStype())
            .append("remark", getRemark())
            .append("createUsername", getCreateUsername())
            .append("createUserid", getCreateUserid())
            .append("createDate", getCreateDate())
            .append("editUserid", getEditUserid())
            .append("editUsername", getEditUsername())
            .append("editDate", getEditDate())
            .append("type", getType())
            .toString();
    }
}
